<?php

class BonusTransferPageLink extends Extension {
	function getBonusTransfer(){
        $page = BonusTransferPage::get()->find('ClassName', 'BonusTransferPage');
        if($page) return $page;
    }
    
    function getBonusTransferLink() {
        $page = $this->getBonusTransfer();
        if($page) return $page->Link();
    }
	
    function getBonusTransferStatement(){
        $page = BonusTransferStatementPage::get()->find('ClassName', 'BonusTransferStatementPage');
        if($page) return $page;
    }
    
    function getBonusTransferStatementLink() {
        $page = $this->getBonusTransferStatement();
        if($page) return $page->Link();
    }
}
